import myaxios from "../myaxios";
import BASEURL from "../BaseUrl";
const BMDURL = BASEURL.BMDURL;

const yonghuApi = {
  // 查询 管理员 用户信息
  queryAll() {
    let url = BMDURL + "/yonghu";
    return myaxios.get(url);
  },
  // 查询 管理员 用户信息
  queryById(params) {
    let url = BMDURL + "/yonghu?id="+ params;
    return myaxios.get(url,params);
  },
};

export default yonghuApi;
